package com.wjs.service;

import com.github.pagehelper.PageInfo;
import com.wjs.entity.Category;

import java.util.List;

public interface CategoryService {
    List<Category> selectAll();
    PageInfo<Category> selectAllByPage(int curPage,int pageSize);
    void deleteByID(int id);
    void addCategory(Category category);
}
